package com.lc.luzhengtang.bean;

import java.util.List;

/**
 * Created by congl on 2017/7/21.
 */

public class CommentBean {
    private int id;
    private int evaluate;
    private String pirUrl;
    private String comment;
    private List<String> picUrls;

    public CommentBean(int id, int evaluate, String pirUrl, String comment, List<String> picUrls) {
        this.id = id;
        this.evaluate = evaluate;
        this.pirUrl = pirUrl;
        this.comment = comment;
        this.picUrls = picUrls;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getEvaluate() {
        return evaluate;
    }

    public void setEvaluate(int evaluate) {
        this.evaluate = evaluate;
    }

    public String getPirUrl() {
        return pirUrl;
    }

    public void setPirUrl(String pirUrl) {
        this.pirUrl = pirUrl;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public List<String> getPicUrls() {
        return picUrls;
    }

    public void setPicUrls(List<String> picUrls) {
        this.picUrls = picUrls;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        CommentBean that = (CommentBean) o;

        return id == that.id;
    }

    @Override
    public int hashCode() {
        return id;
    }

    @Override
    public String toString() {
        return "CommentBean{" +
                "id=" + id +
                ", evaluate=" + evaluate +
                ", pirUrl='" + pirUrl + '\'' +
                ", comment='" + comment + '\'' +
                ", picUrls=" + picUrls +
                '}';
    }
}
